package pl.ericpol.kernel.schemas;

import java.util.List;

public abstract class Schema {
	
	//List<Action> actions;
	protected String name;
	protected List<Condition> conditions;
	
	public Schema(List<Condition> conditions) {
		this.conditions = conditions;
	}
	
	public Schema() {
	}
	
	public abstract void execute();

//	public List<Action> getActions() {
//		return actions;
//	}
//
//	public void setActions(List<Action> actions) {
//		this.actions = actions;
//	}
	
	public List<Condition> getConditions() {
		return conditions;
	}

	public void setConditions(List<Condition> conditions) {
		this.conditions = conditions;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}	

}
